import React from 'react'
import { Routes, Route } from 'react-router-dom'
import Members from '../pages/Members'
import Appointments from '../pages/Appointments'
import Transactions from '../pages/Transactions'
import Settings from '../pages/Settings'

function AppRoutes() {
    return (
        <Routes>
            <Route path="/" element={<Members />} />
            <Route path="/members" element={<Members />} />
            <Route path="/appointments" element={<Appointments />} />
            <Route path="/transactions" element={<Transactions />} />
            <Route path="/settings" element={<Settings />} />
        </Routes>
    )
}

export default AppRoutes 